package pl.edu.agh.mgr.hotel.ws.data;

import java.util.ArrayList;
import java.util.List;

import pl.edu.agh.mgr.hotel.entities.ServiceDescription;

public class DataRequest {
	private String name = "";
	private List<Query> queries = new ArrayList<Query>();

	public DataRequest() {
	}

	public DataRequest(String name) {
		this.name = name;
	}

	public DataRequest(String name,
			List<Query> queries) {
		this.name = name;
		this.queries = queries;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public List<Query> getQueries() {
		return queries;
	}

	public void setQueries(List<Query> queries) {
		this.queries = queries;
	}

	public void addQuery(Query query) {
		queries.add(query);
	}
}
